package com.example.ivos.base.exception;

import com.example.ivos.base.response.StatusCode;
import lombok.Getter;
import org.springframework.web.bind.annotation.RestControllerAdvice;

public class ServiceException extends RuntimeException {

    @Getter
    private StatusCode statusCode;

        public ServiceException(StatusCode statusCode)
        {
            this.statusCode = statusCode;
        }
}
